// 详情页的所有请求
import request from "../utils/request"

export function getOutdoorTempApi(data){
    return request({
        url:'/getOutdoorTemp',
        method:'post', //get 和params搭配
        data 
    })
}

export function getTemperatureApi(data){
    return request({
        url:'/getTemperature',
        method:'post', //get 和params搭配
        data 
    })
}
export function getWeekTemApi(data){
    return request({
        url:'/getWeekTem',
        method:'post', //get 和params搭配
        data 
    })
}

export function getMonthTemApi(data){
    return request({
        url:"/getMonthTem",
        method:"post",
        data
    })
}